package com.end;

import java.time.LocalDateTime;

public class Order {
    private long id;
    private String name;
    private LocalDateTime time;
    private double price;
    Order(long id, String name, LocalDateTime time, double price){
        this.id = id;
        this.name = name;
        this.time = time;
        this.price = price;
    }

    public long getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public LocalDateTime getTime() {
        return time;
    }

    public double getPrice() {
        return price;
    }
    public String toString(){
        return "id:" + id + " name:" + name + " time:" + time + " price:" + price;
    }
}
